package com.xiaoma.thread.exceptionhandler;

public class MyUncaughtExceptionhandler implements Thread.UncaughtExceptionHandler{
    @Override
    public void uncaughtException(Thread t, Throwable e) {
        System.out.println(t.getName()+",cause:"+ e.getMessage());
    }
}
